projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1685232
)
wayland: Set actions on drag
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 15 Jul 2018 20:50:37 +0000
(16:50 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 15 Jul 2018 20:52:16 +0000
(16:52 -0400)
We should pass the actions to the newly created
drag in drag_begin.
gdk/wayland/gdkdrag-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkdrag-wayland.c
b/gdk/wayland/gdkdrag-wayland.c
index 3d9a7a0e7d4371744d5018d19f5492db908d6689..6876bd1e953ed9ce290f8400d7815e0eae338f79 100644
(file)
--- a/
gdk/wayland/gdkdrag-wayland.c
+++ b/
gdk/wayland/gdkdrag-wayland.c
@@
-372,9
+372,10
@@
_gdk_wayland_surface_drag_begin (GdkSurface *surface,
seat = gdk_device_get_seat (device);
drag_wayland = g_object_new (GDK_TYPE_WAYLAND_DRAG,
+ "surface", surface,
"device", device,
"content", content,
- "
surface", surface
,
+ "
actions", actions
,
NULL);
drag = GDK_DRAG (drag_wayland);